package com.ruoyi.Warehouse.mapper;

import java.util.List;
import com.ruoyi.Warehouse.domain.Warehouses;

/**
 * 仓库表Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public interface WarehousesMapper 
{
    /**
     * 查询仓库表
     * 
     * @param warehouseId 仓库表主键
     * @return 仓库表
     */
    public Warehouses selectWarehousesByWarehouseId(Long warehouseId);

    /**
     * 查询仓库表列表
     * 
     * @param warehouses 仓库表
     * @return 仓库表集合
     */
    public List<Warehouses> selectWarehousesList(Warehouses warehouses);

    /**
     * 新增仓库表
     * 
     * @param warehouses 仓库表
     * @return 结果
     */
    public int insertWarehouses(Warehouses warehouses);

    /**
     * 修改仓库表
     * 
     * @param warehouses 仓库表
     * @return 结果
     */
    public int updateWarehouses(Warehouses warehouses);

    /**
     * 删除仓库表
     * 
     * @param warehouseId 仓库表主键
     * @return 结果
     */
    public int deleteWarehousesByWarehouseId(Long warehouseId);

    /**
     * 批量删除仓库表
     * 
     * @param warehouseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehousesByWarehouseIds(String[] warehouseIds);
}
